<#macro select id datas verify="" value="">
	<select id="${id}" name="${id}" lay-verify="${verify}">
    	<option value=""> -- 请选择 -- </option>
        <#list datas as d>        	
        	<#if value==(d[0]?string)>
        		<option value="${d[0]}" selected>${d[1]}</option>
        	<#else>
        		<option value="${d[0]}">${d[1]}</option>
        	</#if>
      	</#list>
	</select>
</#macro>

<#macro radio name datas value="">
	<#list datas as d>        	
	<#if value==(d[0]?string)>
		<input type="radio" name="${name}" value="${d[0]}" title="${d[1]}" checked>
	<#else>
		<input type="radio" name="${name}" value="${d[0]}" title="${d[1]}">
	</#if>
	</#list>
</#macro>